from distutils.core import setup

setup(name='csbbelle',
      version='0.1.0',
      description='bits useful for Belle analysis',
      author='Craig Bookwalter',
      author_email='craigb@pnnl.gov',
      packages='csbbelle'.split(),
      scripts=['csbbelle_basf.py',
               'csbbelle_basf_batch.py',
               'csbbelle_files_left.py',
               'csbbelle_merge_hbook_kumacs.py',
               'csbbelle_files_left.py',
               ],
      )




import os
import subprocess

from csbbelle.ntdef import rowdefs

for k in rowdefs:
    p = subprocess.Popen(
        "pytpp_pytrow_to_struct.py csbbelle {0}".format(k).split())
    p.communicate()
